﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WaterWay.Utilities
{
    public static class DataTableHepler
    {
        public static DataTable ColumnsNameToUpper(this DataTable dt)
        {
            foreach (DataColumn item in dt.Columns)
            {
                item.ColumnName = item.ColumnName.ToUpper();
            }
            return dt;
        }

        public static DataTable ColumnsNameToLower(this DataTable dt)
        {
            foreach (DataColumn item in dt.Columns)
            {
                item.ColumnName = item.ColumnName.ToLower();
            }
            return dt;
        }

    }
}
